﻿@{
    ViewBag.Title = "数据字典";
    Layout = "~/Views/Shared/_Form.cshtml";
}
<div class="lr-form-wrap" id="form">
    <input id="DataItemID" type="hidden" />
    <div class="col-xs-12 lr-form-item">
        <div class="lr-form-item-title">上级字典明细</div>
        <div id="UpDataItemDetailID" class="input_right"></div>
    </div>
    <div class="col-xs-12 lr-form-item">
        <div class="lr-form-item-title">名称<font face="宋体">*</font></div>
        <input id="DataItemName" type="text" class="form-control" placeholder="请输入名称" isvalid="yes" checkexpession="NotNull" />
    </div>
    <div class="col-xs-12 lr-form-item">
        <div class="lr-form-item-title">名称（英文）</div>
        <input id="DataItemNameEN" type="text" class="form-control" placeholder="请输入名称（英文）" />
    </div>
    <div class="col-xs-12 lr-form-item">
        <div class="lr-form-item-title">编号<font face="宋体">*</font></div>
        <input id="DataItemCode" type="text" class="form-control" placeholder="请输入编号" isvalid="yes" checkexpession="NotNull" />
    </div>
    <div class="col-xs-12 lr-form-item">
        <div class="lr-form-item-title">排序<font face="宋体">*</font></div>
        <input id="OrderID" type="text" class="form-control" placeholder="请输入排序号" isvalid="yes" onkeyup="value=value.replace(/[^\d]/g,'')" />
    </div>
    <div class="col-xs-12 lr-form-item">
        <div class="checkbox">
            <label>
                <input id="IsEnabled" type="checkbox" checked="checked" />
                有效
            </label>
        </div>
    </div>
    <div class="col-xs-12 lr-form-item">
        <div class="lr-form-item-title">备注</div>
        <textarea id="Remark" class="form-control" style="height:100px;"></textarea>
    </div>
</div>
@Html.AppendJsFile("/Areas/ZZDT_EC/Views/ec_dataitem/Form.js")
